package demo.db.mysql.vo;

import com.alibaba.fastjson.JSON;

/**
 * 慢SQL 统计
 */
public class SlowSqlStatistic {

    private String dbUrl;

    private String app;

    // 数量
    private Long cnt;

    // 总耗时 毫秒
    private Double cost;

    public String getDbUrl() {
        return dbUrl;
    }

    public void setDbUrl(String dbUrl) {
        this.dbUrl = dbUrl;
    }

    public String getApp() {
        return app;
    }

    public void setApp(String app) {
        this.app = app;
    }

    public Long getCnt() {
        return cnt;
    }

    public void setCnt(Long cnt) {
        this.cnt = cnt;
    }

    public Double getCost() {
        return cost;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
